package com.ruoyi.stuinfo.service;

import java.util.List;
import com.ruoyi.stuinfo.domain.StudentPunishments;

/**
 * 惩戒查询Service接口
 *
 * @author zc
 * @date 2025-05-16
 */
public interface IStudentPunishmentsService
{
    /**
     * 查询惩戒查询
     *
     * @param punishmentId 惩戒查询主键
     * @return 惩戒查询
     */
    public StudentPunishments selectStudentPunishmentsByPunishmentId(Long punishmentId);

    /**
     * 查询惩戒查询列表
     *
     * @param studentPunishments 惩戒查询
     * @return 惩戒查询集合
     */
    public List<StudentPunishments> selectStudentPunishmentsList(StudentPunishments studentPunishments);

    /**
     * 新增惩戒查询
     *
     * @param studentPunishments 惩戒查询
     * @return 结果
     */
    public int insertStudentPunishments(StudentPunishments studentPunishments);

    /**
     * 修改惩戒查询
     *
     * @param studentPunishments 惩戒查询
     * @return 结果
     */
    public int updateStudentPunishments(StudentPunishments studentPunishments);

    /**
     * 批量删除惩戒查询
     *
     * @param punishmentIds 需要删除的惩戒查询主键集合
     * @return 结果
     */
    public int deleteStudentPunishmentsByPunishmentIds(Long[] punishmentIds);

    /**
     * 删除惩戒查询信息
     *
     * @param punishmentId 惩戒查询主键
     * @return 结果
     */
    public int deleteStudentPunishmentsByPunishmentId(Long punishmentId);

    public List<StudentPunishments> selectStudentPunishmentsList_student(String teacherId);
}
